﻿using System;
using System.IO;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using System.Collections.ObjectModel;
using System.Windows.Input;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Documents;
using System.Windows.Shapes;
using System.Windows.Media.Media3D;
using System.Xml;
using System.Collections;
using System.Data;
using System.Diagnostics;

namespace Data
{
   public class Line3D // Đoạn thẳng giao nhau giữu mặt phẳng cắt và tam giác.
    {
        public Point3D p1;
        public Point3D p2;
        public bool m_bScaned;

        public Line3D() 
        { 
            this.m_bScaned = false;
            p1 = new Point3D();
            p2 = new Point3D();
        }
        public Line3D(Point3D x1,Point3D x2) 
        {
            p1 = x1;
            p2 = x2;
            m_bScaned = false;
        }
        public Point3D P1
        {
            set { p1 = value; }
            get { return p1; }
        }
        public Point3D P2
        {
            set { p2 = value; }
            get { return p2; }
        }
                
        public void SetScaned(bool set)
        {
            m_bScaned = set;
        }
        public bool NotScaned()
        {
            return m_bScaned;
        }
    }
}
